package com.atguigu.mapper;

import com.atguigu.base.BaseMapper;
import com.atguigu.entity.AclAdmin;

import java.util.List;

public interface AdminMapper extends BaseMapper<AclAdmin> {

    List<AclAdmin> findAll();

    AclAdmin getByUsername(String username);

    String getRoleNameByAdminId(Long adminId);
}
